import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-attr',
  templateUrl: './attr.component.html',
  styleUrls: ['./attr.component.css']
})
export class AttrComponent implements OnInit {

	atrrPoolExpand:boolean = true;

	poolData:any;

  constructor() { }


  

  ngOnInit() {
  }

  // attr pool
  attrPoolEmit(data){

  	console.log(data);

  	this.atrrPoolExpand = false;

  	this.poolData = data;
  }

  toggel(bool){

  	if(bool){
  		this.atrrPoolExpand = true;
  	}else{
  		this.atrrPoolExpand = false;
  	}
  }
}
